<% for column in User.content_columns %>
  <% if column.name != "hashed_password" and column.name != "salt" and column.name != "hashed_password" and column.name != "stuid" and column.name != "sex" %>
    <p>
      <b><%= column.human_name %>:</b> <%=h @teacher.send(column.name) %>
    </p>
  <% end %>
<% end %>

<%= link_to 'Delete', :action => 'delete_teacher', :id => @teacher %> |
<%= link_to 'Back', :action => 'list_teacher' %>
